package demo2;
//抽象类

public abstract class Father {
    public String name;
    public Father(String name){
        this.name = name;
    }
    public abstract void eat();//不能用final private static修饰抽象类方法

}
